
/**
 * 
 * A player's ship -- contains info on the player's cargo drone and what's in the ship's hold.
 *
 */
public class Ship {
	private String name;
	Drone drone;
	CargoHold cargoHold;
	
	/**
	 * A player's ship -- contains info on the player's cargo drone and what's in the ship's hold.
	 * @param name
	 * @param capacity - number of cargo bays on the ship
	 * @param numCommodities - number of possible commodities.
	 */
	public Ship(String name, int capacity, int numCommodities)
	{
		this.name = name;
		drone = null;
		cargoHold = new CargoHold(capacity, numCommodities);
	}
	
	/**
	 * 
	 * @return the ship's name
	 */
	public String getName()
	{
		return name;
	}
}
